package com.hairline.service;

import com.hairline.bean.Goods;
import com.hairline.bean.GoodsCount;

import java.util.List;
import java.util.Map;

public interface WxIndexService {
    Map<String, Object> queryGoodsList();

    GoodsCount queryCount();

    Map<String, Object> queryCategory(Integer id);

    Map<String, Object> queryList(Integer categoryId, Integer page, Integer size);

    Map<String, Object> goodsDetail(Integer id);

    List<Goods> goodsRelate(Integer id);

    Map<String, Object> queryLists(String keyword, Integer page, Integer size, String sort, String order, Integer categoryId);

}
